package com.totoro.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.totoro.dao.BaseHibernateDao;
import com.totoro.dao.ProjectTypeDao;
import com.totoro.domain.ProjectType;

/*
 * 题目类型service
 */
@Transactional
@Service
public class ProjectTypeService extends BaseService<ProjectType, Integer>{

	private ProjectTypeDao projectTypeDao;
	
	@Autowired
	@Override
	public void setBaseDao(BaseHibernateDao<ProjectType, Integer> projectTypeDao) {
		// TODO Auto-generated method stub
		this.baseDao = projectTypeDao;
		this.projectTypeDao = (ProjectTypeDao) projectTypeDao;
	}

}
